<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>用户管理</title>
<link rel="stylesheet" type="text/css" href="/networkforum/css/user_control.css" />
<link rel="stylesheet" type="text/css" href="/networkforum/css/base.css"/>	
<!–[if lt IE9]> 
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]–>
<style type="text/css">
li{
	float:none;
	width:100%;
	height:30px;
	line-height:30px;
	vertical-align:middle;
	font-size:14px;
	text-align:left;
	
	margin-bottom:1px;
}
li a{
	display:block;
	width:65%;
	height:100%;
	padding-left:45px;
}
li a:hover{
	background-color:#8AA956;
}
</style>
<script type="text/javascript">
function iFrameHeight() { 
	var ifm= document.getElementById("mright"); 
	var subWeb = document.frames ? document.frames["mright"].document : ifm.contentDocument; 
	if(ifm != null && subWeb != null) { 
		ifm.style.height = subWeb.body.scrollHeight + "px"; 
	} 
}
window.onload = function(){
	getUserPhoto();
}
function getUserPhoto(){
	var myajax = getByAjax();
	myajax.init(null,"get",true);
	myajax.get("/networkforum/user/basic_info.do",function(d){
		var data = toJson(d);
		var userPhoto = document.getElementById("userPhoto");
		userPhoto.src = data.userPhoto;
	});
	myajax = null;	
}
</script>
</head>

<body>
	<iframe id="tnav" class="tnav" src="/networkforum/pages/user/user_header.html"></iframe>
	<section class="main">
    	<h2 class="header">Pea tips设置</h2>
        <section class="mleft">
        	<section class="user_info" id="userInfo">
            	<img id="userPhoto" class="user" src="/networkforum/images/left1.jpg" />
            </section>
        	<section class="ml_1">
            	<h2>个人资料</h2>
                <ul class="ml_ul_1">
                	<li><a href="/networkforum/main/redirect.do?url=/pages/user/user_control_basic" target="mright">基本资料</a></li>
                    <li><a href="/networkforum/main/redirect.do?url=/pages/user/user_control_photo" target="mright">更换头像</a></li>
                    <li><a href="/networkforum/main/redirect.do?url=/pages/user/user_control_password" target="mright">修改密码</a></li>
                    <!-- <li><a href="/networkforum/main/redirect.do?url=/pages/user/user_control_privacy" target="mright">隐私设置</a></li> -->
                </ul>
            </section>
            <section class="ml_2">
 	           <h2>好友管理</h2>
               <ul class="ml_ul_1">
                	<!-- 
                	<li><a href="/networkforum/main/redirect.do?url=/pages/user/user_control_" target="mright">空间资料</a></li>
                	 -->
                    <li><a href="/networkforum/main/redirect.do?url=/pages/user/user_control_friend" target="mright">好友管理</a></li>
               </ul>
            </section>
            <section class="ml_3">
			   <h2>其它</h2>        
               <ul class="ml_ul_1">
                    <li><a href="/networkforum/main/redirect.do?url=/pages/user/user_control_dongtai" target="mright">动态管理</a></li>
                	<li><a href="/networkforum/main/redirect.do?url=/pages/user/user_control_picture" target="mright">照片管理</a></li>
                	<li><a href="/networkforum/main/redirect.do?url=/pages/user/user_control_group" target="mright">分组管理</a></li>
                    <li><a href="/networkforum/main/redirect.do?url=/pages/user/user_control_garden" target="mright">秘密花园</a></li>
                    <li><a href="/networkforum/main/redirect.do?url=/pages/user/user_control_article" target="mright">博客管理</a></li>
                    <li><a href="/networkforum/main/redirect.do?url=/pages/user/user_control_wall" target="mright">笑脸墙管理</a></li>
               </ul>
            </section>
        </section>
        <section class="mright">
        	<h2>资料设置</h2>
	        <iframe class="mright_main" id="mright" onLoad="iFrameHeight()" name="mright" src="/networkforum/pages/user/user_control_basic.html"></iframe>    	
        </section>
    </section>
    <iframe class="footer" src="/networkforum/pages/footer.html"></iframe>
</body>
<script type="text/javascript" src="/networkforum/js/myajax.js"></script>
</html>
